package com.newasia.server.service;

import com.newasia.server.controller.form.ChangePassForm;
import com.newasia.server.controller.form.LoginForm;
import com.newasia.server.controller.form.UserForm;
import com.newasia.server.dal.entitys.User;
import com.newasia.server.common.result.ResponseData;


public interface IUserService {

    ResponseData login(LoginForm form);
    User selectUserByUsername(String username);
    ResponseData register(UserForm form);
    ResponseData sendPhoneCode(UserForm form);
    ResponseData resetPass(UserForm form);
    ResponseData changePass(ChangePassForm form);
    ResponseData updatePhoneFirst(UserForm form);
    ResponseData updatePhoneSecond(UserForm form);
    ResponseData bundlingWeChat(LoginForm form);
    ResponseData unbundlingWeChat();
}
